package com.weipai.education.model;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

import java.math.BigDecimal;
import java.util.Date;
public class ProductPrice {
    private Integer id;

    private Integer productId;

    @NotNull(message = "产品价格不能为空")
    private BigDecimal productPrice;

    @NotNull(message = "经销商类别id不能为空")
    private Integer userCateId;

    private Date createTime;

    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public BigDecimal getProductPrice() {
		return productPrice;
	}

	public void setProductPrice(BigDecimal productPrice) {
		this.productPrice = productPrice;
	}

	public Integer getUserCateId() {
        return userCateId;
    }

    public void setUserCateId(Integer userCateId) {
        this.userCateId = userCateId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}